import axios from 'axios';

export async function upload_file_stream_api(data: any, token: string) {
  return axios.post<any>(`/apiupload/FileUpload/UploadAnnex`, data, {
    headers: {
      'Content-type': 'multipart/form-data',
      Token: token,
    },
  });
}
